package org.yogurtcat.server.common.message.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.Repository;
import org.yogurtcat.server.common.constant.MessageType;
import org.yogurtcat.server.common.message.domain.MessageConfig;

public interface MessageConfigRepository extends Repository<MessageConfig, Long>, JpaSpecificationExecutor<MessageConfig> {
	
	MessageConfig save(MessageConfig payment);

	void delete(MessageConfig payment);

	MessageConfig findByType(MessageType type);
}
